import request from '@/utils/request'

// 查询项目案例列表
export function listMenRelatedCase(query) {
  return request({
    url: '/men/menRelatedCase/list',
    method: 'get',
    params: query
  })
}

// 查询项目案例详细
export function getMenRelatedCase(id) {
  return request({
    url: '/men/menRelatedCase/' + id,
    method: 'get'
  })
}

// 新增项目案例
export function addMenRelatedCase(data) {
  return request({
    url: '/men/menRelatedCase',
    method: 'post',
    data: data
  })
}

// 修改项目案例
export function updateMenRelatedCase(data) {
  return request({
    url: '/men/menRelatedCase',
    method: 'put',
    data: data
  })
}

// 删除项目案例
export function delMenRelatedCase(id) {
  return request({
    url: '/men/menRelatedCase/' + id,
    method: 'delete'
  })
}

// 导出项目案例
export function exportMenRelatedCase(query) {
  return request({
    url: '/men/menRelatedCase/export',
    method: 'get',
    params: query
  })
}